#! /usr/bin/python3
# -*- coding: UTF-8 -*-

if __name__ == "__main__":
	raise Exception("不支持从这里调用")

__version__ = "1.0"
__all__ = ["CheckTokenNeedTokenRpcException"]

from com.mousechsh.business.app.order.err.MouseChshLogicErrMsg import MouseChshLogicErrMsg

from com.mousechsh.common.middle.err.MouseChshException import MouseChshException


class CheckTokenNeedTokenRpcException(MouseChshException):

	def text(self):
		return MouseChshLogicErrMsg.text(MouseChshLogicErrMsg.CheckTokenNeedToken) + "："

	def error(self, *args_arr):
		return {
			'code': MouseChshLogicErrMsg.CheckTokenNeedToken.value,
			'message': MouseChshLogicErrMsg.text(MouseChshLogicErrMsg.CheckTokenNeedToken),
		}
